home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
prog
/
cv_read.arj
/
IEEE2CLP.C
< prev
next >
Wrap
Text File
|
1993-08-08
|
714b
|
29 lines
----------------------------------------------------------------------
Subject: IEEE to Clipper Floats
From: Ted Means [73067,3332]
To: John Wright [70534,2330]
Forum: CLIPPER Section: CA-Clipper Prog. #2
Date: 06-Aug-93 09:44:07
----------------------------------------------------------------------
CLIPPER IEEE2Clip( void )
{
auto char * cVal = _parc( 1 );
auto double nVal;
if ( _parclen( 1 ) == 4 )
nVal = ( double ) ( *( float * ) cVal );
else
nVal = *( double * ) cVal;
_retnd( nVal );
return;
}
If you don't have a C compiler, let me know and I'll send you the .OBJ
file via email.
Ted Means